Spread Windows Forms 17
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / SparseArray<T> Class / InsertRange Method
Specifies the insertion point, and must be greater than or equal to 0 and less than or equal to Length, or an IndexOutOfRangeException is thrown.
Specifies the number of null items to insert, and must be greater than 0, or an ArgumentOutOfRangeException is thrown.


In This Topic
    InsertRange Method (SparseArray<T>)
    In This Topic
    Inserts the specified number of new null items into the SparseArray at the specified index.
    Syntax
    'Declaration
     
    
    Public Sub InsertRange( _
       ByVal index As Integer, _
       ByVal count As Integer _
    ) 
    'Usage
     
    
    Dim instance As SparseArray(Of T)
    Dim index As Integer
    Dim count As Integer
     
    instance.InsertRange(index, count)
    public void InsertRange( 
       int index,
       int count
    )

    Parameters

    index
    Specifies the insertion point, and must be greater than or equal to 0 and less than or equal to Length, or an IndexOutOfRangeException is thrown.
    count
    Specifies the number of null items to insert, and must be greater than 0, or an ArgumentOutOfRangeException is thrown.
    See Also